package com.yb.guigu.pick.core.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/6/7 11:55
 * FileName: RouteConstant
 * Description:
 */
public class RouteConstant {

    @Getter
    @AllArgsConstructor
    public enum IsAuth{
        NO_AUTH(0,"不需要认证"),
        NEED_AUTH(1,"需要认证");
        private Integer auth;
        private String  description;
    }

    @Getter
    @AllArgsConstructor
    public enum IsMenu{
        NO(0,"不是菜单，是路由"),
        YES(1,"是菜单");
        private Integer value;
        private String  description;
    }

    @Getter
    @AllArgsConstructor
    public enum IsLeaf{
        NO(0,"非叶子节点"),
        YES(1,"是叶子节点");
        private Integer value;
        private String  description;
    }

    @Getter
    @AllArgsConstructor
    public enum Level{
        ONE(1,"一级路由"),
        TWO(2,"二级路由"),
        THREE(3,"三级路由");
        private Integer value;
        private String  description;
    }
}
